//用来存储当前选中行的商品信息数据
export default {
    namespaced: true,//开启命名空间
    state: {
        rowdata: {},//当前行的数据容器,
        title:'添加'
    },
    mutations: {
        changeRowData(state, payload) {
            state.rowdata = payload;
        },
        changeTitle(state,title){
            state.title=title
        } 
    }

  
}